package com.jd.org.mapper;


import com.jd.basic.mapper.BaseMapper;
import com.jd.org.domain.Employee;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public interface EmployeeMapper extends BaseMapper<Employee> {
    List<Employee> findEmpByDeptId(Long id);

    Employee findByName(String username);
    Employee findByLogininfoId(Long logininfoId);
}
